package cn.edu.zzuli.nothinglink.controller;

import cn.edu.zzuli.nothinglink.entity.R;
import org.apache.shiro.authz.annotation.RequiresRoles;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PingController {

    @GetMapping("/ping")
    public R ping() {
        return R.success();
    }

}
